package com.suian.spring.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
//@ConfigurationProperties(prefix = "ws")
@Data
public class WsConfig {

    @Value("${ws.name}")
    private String name;
}
